<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:head>
<h:form>
	<link type="text/css" rel="stylesheet" href="#{request.contextPath}/css/componentes.css" />

	<p:layout fullPage="true">  

    <p:layoutUnit rendered="#{controller.deslogado eq 'sim'}" position="north" style="align: right; height: 140px; width: 99%;" size="110" header="Top" resizable="false" closable="false" collapsible="false" effect="drop">  
    			<table>	
    				<h:outputText value="login"/><p:inputText size="5" value="#{controller.login}"/><p:commandButton value="Entrar" actionListener="#{controller.Logar}" ajax="false" update="@all"/><BR></BR>
    				<h:outputText value="senha"/><p:password size="5" value="#{controller.senha}"/>
   				</table>
    </p:layoutUnit>  
    
    <p:layoutUnit position="west" size="200" header="Principal" resizable="false" closable="false" collapsible="false" effect="drop">  
 			<ui:include src="/layout/menuLateral.xhtml"></ui:include>
    </p:layoutUnit>  
  
    <p:layoutUnit position="east" size="250" header="Right" resizable="false" closable="false" collapsible="false" effect="drop">  
        	<ui:include src="/layout/lateralDireita.xhtml"></ui:include>
    </p:layoutUnit>  
  
    <p:layoutUnit position="center">  
 				<ui:include src="/layout/corpo.xhtml"></ui:include>
       
    </p:layoutUnit>  
  
</p:layout>  
</h:form>              
</h:head>
</html>